package com.ruoyi.model.domain;

import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

public class ModelSchemeParam extends BaseEntity {
    private static final long serialVersionUID = 1L;

    /** $column.columnComment */
    private Long id;

    @Excel(name = "方案编码")
    private Long planId;
    @Excel(name = "策略编码")
    private Long schemeId;
    @Excel(name = "算法编码")
    private Long algorithmId;

    @Excel(name = "字段名称")
    private String fieldName;

    @Excel(name = "字段值类型（计划表字段值，固定输入值）")
    private String fieldValueType;

    @Excel(name = "字段值")
    private String fieldValue;

    @Excel(name = "参数值格式")
    private String fieldFormater;

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public Long getPlanId() {
        return planId;
    }

    public void setPlanId(Long planId) {
        this.planId = planId;
    }

    public Long getAlgorithmId() {
        return algorithmId;
    }

    public void setAlgorithmId(Long algorithmId) {
        this.algorithmId = algorithmId;
    }

    public String getFieldName() {
        return fieldName;
    }

    public void setFieldName(String fieldName) {
        this.fieldName = fieldName;
    }

    public String getFieldValueType() {
        return fieldValueType;
    }

    public void setFieldValueType(String fieldValueType) {
        this.fieldValueType = fieldValueType;
    }

    public String getFieldValue() {
        return fieldValue;
    }

    public void setFieldValue(String fieldValue) {
        this.fieldValue = fieldValue;
    }

    public String getFieldFormater() {
        return fieldFormater;
    }

    public void setFieldFormater(String fieldFormater) {
        this.fieldFormater = fieldFormater;
    }

    public Long getSchemeId() {
        return schemeId;
    }

    public void setSchemeId(Long schemeId) {
        this.schemeId = schemeId;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
                .append("id", getId())
                .append("planId",getPlanId())
                .append("algorithmId", getAlgorithmId())
                .append("fieldName",getFieldName())
                .append("fieldValueType",getFieldValueType())
                .append("fieldValue", getFieldValue())
                .append("fieldFormater", getFieldFormater())
                .append("remark", getRemark())
                .append("schemeId", getSchemeId())
                .toString();
    }
}
